.PHONY:all
all:netcal_server netcal_client


netcal_client:TcpClientMain.cc
	g++ -o $@ $^ -lpthread -ljsoncpp
netcal_server:TcpServerMain.cc 
	g++ -o $@ $^ -lpthread -ljsoncpp
.PHONY:clean
clean:
	rm -f tcpclient netcal_server